﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Create.aspx.cs" Inherits="JzSport.WebApp.Promotional.Create" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>创建推广活动</title>
    <style>
        body, div, p, span, ul, li, dl, dt, dd, a, ol, input, img, h1, h2, h3, h4 {
            padding: 0;
            margin: 0;
            list-style: none;
            border: 0;
        }

        a {
            text-decoration: none;
        }

        body {
            margin: 5px;
            font-family: "Helvetica Neue", Helvetica, Arial,sans-serif;
            background: #fff;
        }

        .content {
            width: 700px;
            margin: 20px auto;
            font-size: 12px;
            color: #454545;
            line-height: 24px;
            margin-top: 10px;
        }

        .apply {
            margin: 0 auto;
            display: block;
            width: 50px;
            line-height: 20px;
            background-color: orange;
            text-align: center;
            color: #ffffff;
        }

        .table {
            border-collapse: collapse;
            text-align: left;
            line-height: 30px;
            margin-top: 5px;
        }

        .th {
            width: 100px;
            text-align: center;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div style="margin: 5px auto;">
            <div class="content">
                <a href="#">创建推广活动</a>
                <a href="CreateAD.aspx">创建图片连接</a>
            </div>
            
            <div class="content">
                <h1>创建推广活动</h1>
                <table border="1" style="width:100%" class="table">
                    <tr>
                        <td class="th">活动名称</td>
                        <td>
                            <asp:TextBox ID="_ctlEditTitle" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="th">活动类型</td>
                        <td>
                            <asp:DropDownList runat="server" ID="_ctlListActivityCategory" DataTextField="Caption" DataValueField="Code"></asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="th">地理位置-城市</td>
                        <td>
                            <asp:TextBox ID="_ctlEditCity" runat="server"></asp:TextBox>
                            <br />
                            地理信息的城市名称
                        </td>
                    </tr>
                    <tr>
                        <td class="th">主办方</td>
                        <td>
                            <asp:TextBox ID="_ctlEditSponsor" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="th">审批人</td>
                        <td>
                            <asp:TextBox ID="_ctlEditAdministrators" runat="server"></asp:TextBox>
                            <br />
                            格式:<em>用户1平台号,用户2平台号</em>
                        </td>
                    </tr>
                    <tr>
                        <td class="th">集合地点</td>
                        <td>
                            <asp:TextBox ID="_ctlEditAddress" runat="server"></asp:TextBox>
                        </td>
                    </tr>

                    <tr>
                        <td class="th">开始时间</td>
                        <td>
                            <asp:TextBox ID="_ctlEditBeginTime" runat="server"></asp:TextBox>
                        </td>
                    </tr>

                    <tr>
                        <td class="th">结束时间</td>
                        <td>
                            <asp:TextBox ID="_ctlEditEndTime" runat="server"></asp:TextBox>
                        </td>
                    </tr>

                    <tr>
                        <td class="th">参加人数</td>
                        <td>
                            <asp:TextBox ID="_ctlEditMaxPersonCount" runat="server"></asp:TextBox>
                        </td>
                    </tr>

                    <tr>
                        <td class="th">活动费用</td>
                        <td>
                            <asp:TextBox ID="_ctlEditCostPrePerson" runat="server"></asp:TextBox>元/人
                        </td>
                    </tr>

                    <tr>
                        <td class="th">活动描述</td>
                        <td>
                            <textarea runat="server" id="_ctlEditDescription" style="width: 500px; height: 60px"></textarea></td>
                    </tr>

                    <tr>
                        <td class="th">活动图片</td>
                        <td>
                            <asp:FileUpload runat="server" ID="_ctlFile" />
                        </td>
                    </tr>

                    <tr>
                        <td colspan="2">
                            <asp:Button runat="server" CssClass="apply" ID="_ctlBtnSubmit" Text="提交" OnClick="btn_submit_Click" />
                        </td>
                    </tr>
                </table>
            </div>

        </div>
    </form>
</body>
</html>
